//
//  GoodDetailView.h
//  shanHaiHuiApp
//
//  Created by DS on 2018/3/7.
//  Copyright © 2018年 徐双. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GoodDetailModel.h"

@interface GoodDetailView : UIView

- (instancetype)initWithFrame:(CGRect)frame selectedHandle:(void (^)(NSString *))selectedHandle;

- (void)show;

-(void)dismiss;

Strong NSDictionary * model;
Strong NSNumber * spkc;
Strong NSMutableArray * imageArr;



//底部视图
Strong UILabel * pariceLabel;
Strong UILabel * perLabel;
Strong UIButton * plusBtn;
Strong UIButton * minusBtn;
Strong UITextField * textField;
Strong UIButton * addShopCarBtn;

//商品数量
Assign NSInteger goodCount;


Copy void(^getPlusClick)(GoodDetailView * view);
Copy void(^getMinusClick)(GoodDetailView * view);
Copy void(^getJoinShopCarClick)(GoodDetailView * view);

Copy void(^getTextFieldClick)(GoodDetailView * view);

@end
